home *** CD-ROM | disk | FTP | other *** search
- Path: kuhub.cc.ukans.edu!anh
- From: anh@kuhub.cc.ukans.edu
- Newsgroups: comp.lang.c++
- Subject: inline feature or bug ?
- Message-ID: <1996Feb25.221651.114799@kuhub.cc.ukans.edu>
- Date: 25 Feb 96 22:16:51 CST
- Organization: University of Kansas Academic Computing Services
-
- Hello,
-
- I got a minor problem with inline functions a la gcc 2.7. I have my class
- declarations in a .h file. I declare my functions as inline. I have a .cc
- file in which I implement the functions. I include inline at the function
- definitions and g++ cannot link the stuff. The only solution I found was
- to remove inline from BOTH the declaration and the definition of the
- functions. Is this a 'feature' of GCC? Thank-you.
-
- Anh
-
-